package com.zhan.ielts.dao;

import java.util.List;

import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;

import com.zhan.frame.core.dao.BaseDao;
import com.zhan.ielts.domain.ParagraphWord;
//import com.zhan.ielts.domain.WordCategory;
//import com.zhan.ielts.domain.WordSubject;
import com.zhan.ielts.domain.query.ParagraphWordQuery;
import com.zhan.ielts.domain.vo.ParagraphWordVo;

public interface ParagraphWordDao extends BaseDao<ParagraphWord> {

	public List<String> selectType(ParagraphWord query);

	public List<String> selectPassage(ParagraphWord query);

//	public void saveSubject(WordSubject wordSubject);
//
//	public void deleteSubject(WordSubject wordSubject);
//
//	public List<WordSubject> selectSubject(WordSubject wordSubject);
//
//	public void saveCategory(WordCategory wordCategory);
//
//	public void deleteCategory(WordCategory wordCategory);
//
//	public List<WordCategory> selectCategory(WordCategory wordCategory);

	public PageImpl<ParagraphWordVo> selectPageListCustom(
			ParagraphWordQuery query, Pageable pageable);

	public Long selectCountCustom(ParagraphWordQuery query);

	public Integer selectCountSeqNo(ParagraphWordQuery query);

	public void updateSeqNo(ParagraphWord entity);

	public Long selectWordCount(ParagraphWordQuery query);

}
